const { defineConfig } = require('@vue/cli-service')

module.exports = defineConfig({
  transpileDependencies: true,
  outputDir: 'dist',
  assetsDir: 'assets',
  lintOnSave: false,
  devServer: {
    port: 8086,
    open: true,
    proxy: {
      "/api": {
        target: "http://xxx.xxx.xx", //  替换真实地址
        changeOrigin: true,
        secure: false,
        ws: false,
        // pathRewrite: {
        //   "^/api": "",
        // },
      },
    }
  },
  
})
